package com.thememaker.lockstyle;

import com.thememaker.lockstyle.bean.ui.BaseView;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.geometry.Orientation;
import javafx.scene.Parent;
import javafx.scene.control.*;

import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class LockstyleBottomUtils {
    private final Stage stage;
    private final LockstyleShowUtils lockstyleShowUtils;
    private TabPane tabPane;
    private Tab tab0,tab1,tab2;

    private VBox leftAnchorPane, leftFileAnchorPane;


    private SplitPane splitPane;

    public LockstyleBottomUtils(SplitPane splitPane ,Tab tab0,TabPane tabPane,VBox leftFileAnchorPane, Stage stage, LockstyleShowUtils lockstyleShowUtils){
        this.leftFileAnchorPane = leftFileAnchorPane;
        this.stage = stage;
        this.lockstyleShowUtils = lockstyleShowUtils;
        SingleSelectionModel<Tab> selectionModel = tabPane.getSelectionModel();
        selectionModel.select(tab0);
        splitPane.setDividerPositions(0.975);

    }

}
